
<div id="payment-analysis" style="width: 1200px"></div>
<script type="text/javascript">

    $(function() {
        getPaymentsTable(defaultData);

    });

    function getPaymentsTable($postData) {
        $.get('{{route('api.order.chart.payments')}}', $postData, function (data) {
            $("#payment-analysis").html(data.payment);
            $("#interface-analysis").html(data.interface);
        });
    }



</script>
